package com.htdata.service;

import java.util.HashMap;
import java.util.Map;

import com.htdata.util.PropUtil;

/**
 * Created by T数据部 on 2017/5/26.
 */
public class Dev2Cloud {
	public static void main(String[] args) throws InterruptedException {
		Map forData = new HashMap();
		/*forData.put("accesskey", "4T6mYSIrN3TgKmQXuvEflw==");
		forData.put("iot", "10000049280495");
		forData.put("eq", "10000049280490");
		DevData2Cloud Data2Cloud = new DevData2Cloud(forData);*/
		
		/*String ntstr = PropUtil.getRunValue("nt");
		String[] strs = ntstr.split(",");
		Map forStatus = new HashMap();
		forStatus.put("accesskey", strs[0].split(":")[1].trim());
		forStatus.put("iot", strs[0].split(":")[0].trim());*/

		//DevStatus2Cloud Status2Cloud = new DevStatus2Cloud(forStatus);
		DevStatus2Cloud Status2Cloud = new DevStatus2Cloud();
		Status2Cloud.start();

		Map forStatusT = new HashMap();
		/*forStatusT.put("accesskey", strs[1].split(":")[1].trim());
		forStatusT.put("iot", strs[1].split(":")[0].trim());
		DevStatus2Cloud Status2CloudT = new DevStatus2Cloud(forStatusT);*/
		//Data2Cloud.start();

		//Status2CloudT.start();

	}
}
